var exec = require('cordova/exec');

exports.startDahuaVideo = function(ipAddress, port, userName,passWord) {
    exec(null, null, "DahuaVideoPlugin", "startDahuaVideo", [ipAddress, port, userName,passWord]);
};